<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <link rel="stylesheet" href="./column.css">
  <style>
    html {
      padding: 60px;
    }
    body {
      width: 100%;
      height: 100%;
      padding: 0;
      margin: 0;
      border: 1px solid #3232f6;
    }
    *, &:before, &:after {
      box-sizing: border-box;
    }
    .row,
    .row-reverse {
      background: rgba(0, 0, 0, 0.1);
    }
    .demo {
      margin-bottom: 20px;
    }
    .header {
      font-weight: bolder;
      padding-left: 10px;
    }
    .inner {
      background: rgba(0, 0, 0, 0.1);
      height: 20px;
      width: 100%;
      text-align: center;
    }
    [class*="col-"] + [class*="col-"] {
      .inner {
        border-left: 1px solid red;
      }
    }
  </style>
</head>
<body>
<div class="row demo">
  <div class="col-24"><div class="header">row: 24</div></div>
  <div class="col-24">
    <div class="row">
      <div class="col-1"><div class="inner">col-1</div></div>
      <div class="col-2"><div class="inner">col-2</div></div>
      <div class="col-3"><div class="inner">col-3</div></div>
      <div class="col-4"><div class="inner">col-4</div></div>
      <div class="col-5"><div class="inner">col-5</div></div>
      <div class="col-6"><div class="inner">col-6</div></div>
      <div class="col-3"><div class="inner">col-3</div></div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row offset:</div></div>
  <div class="col-24">
    <div class="row">
      <div class="col-4"><div class="inner">col-4</div></div>
      <div class="col-4 offset-1"><div class="inner">col-4 offset-1</div></div>
      <div class="col-4"><div class="inner">col-4 offset-2</div></div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row push:</div></div>
  <div class="col-24">
    <div class="row">
      <div class="col-4"><div class="inner">col-4</div></div>
      <div class="col-4 push-1"><div class="inner">col-4 offset-1</div></div>
      <div class="col-4"><div class="inner">col-4 offset-2</div></div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row pull:</div></div>
  <div class="col-24">
    <div class="row">
      <div class="col-4"><div class="inner">col-4</div></div>
      <div class="col-4 pull-1"><div class="inner">col-4 pull-1</div></div>
      <div class="col-4"><div class="inner">col-4 offset-2</div></div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row offset:</div></div>
  <div class="col-24">
    <div class="row">
      <div class="col-4"><div class="inner">col-4</div></div>
      <div class="col-4 offset-1"><div class="inner">col-4 offset-1</div></div>
      <div class="col-4 offset-2"><div class="inner">col-4 offset-2</div></div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row: col-8 & offset-8 等价于 col-8 & col-16</div></div>
  <div class="col-24">
    <div class="row row-gutter-2">
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="offset-8"><div class="inner">offset-8</div></div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row push:</div></div>
  <div class="col-24">
    <div class="row">
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="col-8 push-1"><div class="inner">col-8 push-1</div></div>
      <div class="col-8"><div class="inner">col-8</div></div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row pull:</div></div>
  <div class="col-24">
    <div class="row">
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="col-8 pull-1"><div class="inner">col-8 pull-1</div></div>
      <div class="col-8"><div class="inner">col-8</div></div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row-reverse offset:</div></div>
  <div class="col-24">
    <div class="row-reverse">
      <div class="col-4"><div class="inner">col-4</div></div>
      <div class="col-4 offset-1"><div class="inner">col-4 offset-1</div></div>
      <div class="col-4 offset-3"><div class="inner">col-4 offset-3</div></div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row row-gutter-xxs:</div></div>
  <div class="col-24">
    <div class="row row-gutter-xxs">
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="col-8"><div class="inner">col-8</div></div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row row-gutter-md:</div></div>
  <div class="col-24">
    <div class="row row-gutter-md">
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="col-8"><div class="inner">col-8</div></div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row row-gutter-xxl:</div></div>
  <div class="col-24">
    <div class="row row-gutter-xxl">
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="col-8"><div class="inner">col-8</div></div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row row-gutter-8:</div></div>
  <div class="col-24">
    <div class="row row-gutter-8">
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="col-8"><div class="inner">col-8</div></div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row row-gutter-24:</div></div>
  <div class="col-24">
    <div class="row row-gutter-24">
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="col-8"><div class="inner">col-8</div></div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row: col-reverse</div></div>
  <div class="col-24">
    <div class="row row-gutter-2">
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="col-max-16 col-reverse"><div class="inner">col-max-16 col-reverse</div></div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row:</div></div>
  <div class="col-24">
    <div class="row row-gutter-2">
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="col-8 col-reverse"><div class="inner">col-8 col-reverse</div></div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row:</div></div>
  <div class="col-24">
    <div class="row row-gutter-2">
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="col-min-6 col-reverse">
        <div class="inner">col-min-6 col-reverse</div>
      </div>
    </div>
  </div>
</div>

<div class="row demo">
  <div class="col-24"><div class="header">row:</div></div>
  <div class="col-24">
    <div class="row row-gutter-2">
      <div class="col-8"><div class="inner">col-8</div></div>
      <div class="col-max-16 col-reverse">
        <div class="inner">
          col-max-16 col-reverse  col-max-16 col-reverse  col-max-16 col-reverse
          col-max-16 col-reverse  col-max-16 col-reverse  col-max-16 col-reverse
        </div>
      </div>
    </div>
  </div>
</div>





</body>
</html>